home *** CD-ROM | disk | FTP | other *** search
Wrap
;************************************************************* ;* stormamiga.lib Installer Version 3.4d 15.August 1998 * ;* * ;* Copyright © 1996/98 by CyberdyneSystems * ;* written by Matthias Henze * ;* english translation written by Thomas Blätte * ;* * ;************************************************************* ; ; $VER: HD-Installer_script 3.4d (15.08.98) (set stormamiga-Version "Version 44.01") (set stormamiga-Datum "15. August 1998") (set stormamiga-Datum_e "15. August 1998") ;==================================================================== ; Initialisierungen ;==================================================================== (set @default-dest "") (if (= @language "deutsch") ( (set #welcome (cat "\nWillkommen bei der Installation der \n" "D E M O V E R S I O N\n" "der\n" "\"stormamiga.lib\"\n" ""stormamiga-Version" vom "stormamiga-Datum"\n\n" "Dieses Skript installiert die \"stormamiga.lib\",\n" "entsprechend Ihrer Angaben, auf Ihre Festplatte.\n\n\n" "Kopierrecht © 1996/98 bei CyberdyneSystems\n" "geschrieben von Matthias Henze")) (set #StormC-Version_Auswahl (cat "\nMöchten Sie die \"stormamiga.lib\" für StormC V2 oder für StormC V3 installieren.\n")) (set #V2 " StormC V2") (set #V3 " StormC V3") (set #startup_Auswahl (cat "\nWelche(n) Startupcode(s) möchten Sie installieren?\n")) (set #FAR_C_Startupcode " \"stormamiga_startups.o\" (Far Code)") (set #FAR_C_C++_Startupcode " \"stormamiga_C++_startups.o\" (Far Code)") (set #Versions_Auswahl (cat "\nWählen Sie die Bibliothek(en) aus, die Sie installieren möchten.\n")) (set #MC68EC020+ " Bibliothek für MC68EC020+") (set #Standardbeispiele_Auswahl (cat "\nUm die Vorteile der \"stormamiga.lib\" etwas zu verdeutlichen, habe ich einige Beispiele beigelegt.\n" "\nMöchten Sie diese Beispiele installieren.\n")) (set #ja "ja") (set #nein "nein") (set #Beispiele_Liste (cat "Installation der Beispiele.\n" "Bitte wählen Sie ein Laufwerk oder ein Verzeichnis.\n" "Ein Verzeichnis \"stormamiga_lib_Examples\" wird automatisch erzeugt.")) (set #Spezialbeispiele_Auswahl (cat "\nUm die Vorteile und Anwendungsmöglichkeiten der Spezialfunktionen etwas zu verdeutlichen, habe ich einige Beispiele beigelegt.\n" "Wenn Sie bereits die Standardbeispiele installiert haben, wird automatisch das gleiche Zielverzeichnis benutzt. Ansonsten können Sie ein Zielverzeichnis auswählen.\n" "\nMöchten Sie diese Beispiele installieren.\n")) (set #Spezialfunktionen_Auswahl (cat "\nMöchten Sie die Spezialfunktionen der \"stormamiga.lib\" nutzen.\n")) (set #User.dic_Auswahl (cat "\nUm das Syntax Highlighting auch für die Spezialfunktionen der \"stormamiga.lib\" nutzen zu können, ist es notwendig ein Benutzerlexikon zu installieren.\n" "\nWählen Sie aus, ob und mit welchem Name das Benutzerlexikon installiert werden soll.\n")) (set #User1.dic "User 1.dic") (set #User2.dic "User 2.dic") (set #User3.dic "User 3.dic") (set #kein_User.dic "Kein Benutzerlexikon installieren") (set #Anleitungen_Auswahl (cat "\nWählen Sie die Sprache für die AmigaGuide Dokumentation aus.\n")) (set #Deutsch " Deutsch") (set #English " English") (set #Anleitungen_Liste (cat "Installation der Anleitung(en).\n" "Bitte wählen Sie ein Laufwerk oder ein Verzeichnis.\n" "Es wird kein Verzeichnis erzeugt.")) ) ( (set #welcome (cat "\nWelcome to the installation of the\n" "D E M O V E R S I O N\n" "of\n" "\"stormamiga.lib\"\n" ""stormamiga-Version" from "stormamiga-Datum_e"\n\n" "This script installs the \"stormamiga.lib\"\n" "according to your specification to your harddisk.\n\n\n" "Copyright © 1996/98 by CyberdyneSystems\n" "written by Matthias Henze")) (set #StormC-Version_Auswahl (cat "\nPlease choose whether you like to install the \"stormamiga.lib\" for StormC V2 or for StormC V3.\n")) (set #V2 " StormC V2") (set #V3 " StormC V3") (set #startup_Auswahl (cat "\nWhich startup code(s) do you want to install?\n")) (set #FAR_C_Startupcode " \"stormamiga_startups.o\" (Far Code)") (set #FAR_C_C++_Startupcode " \"stormamiga_C++_startups.o\" (Far Code)") (set #Versions_Auswahl (cat "\nPlease choose the library(-ies) you want to install.\n")) (set #MC68EC020+ " library for MC68EC020+") (set #Standardbeispiele_Auswahl (cat "\nI added some examples to show the advanages of the \"stormamiga.lib\".\n" "\nDo you want to install these examples?\n")) (set #ja "yes") (set #nein "no") (set #Beispiele_Liste (cat "Installation of the examples.\n" "Please choose a volume or directory.\n" "A directory \"stormamiga_lib_Examples\" will be created automatically.")) (set #Spezialbeispiele_Auswahl (cat "\nI added some examples to show the advanages and features of the special functions.\n" "If you allready installed the standard examples, the same destination directory will be used. If not, you may choose a destination directory.\n" "\nDo you want to install these examples?\n")) (set #Spezialfunktionen_Auswahl (cat "\nDo you want to use the special functions of the \"stormamiga.lib\"?\n")) (set #User.dic_Auswahl (cat "\nTo make Syntax Highlighting also available for the special functions of the \"stormamiga.lib\", it is necessary to install a user dictonary.\n" "\nPlease choose the name of the user dictionary if you like to install it.\n")) (set #User1.dic "User 1.dic") (set #User2.dic "User 2.dic") (set #User3.dic "User 3.dic") (set #kein_User.dic "No user dictonary") (set #Anleitungen_Auswahl (cat "\nPlease choose the language for the AmigaGuide documentation.\n")) (set #Deutsch " Deutsch") (set #English " English") (set #Anleitungen_Liste (cat "Installation of the manual(s).\n" "Please choose a volume or a directory.\n" "A new directory will not be created.")) ) ) (set Quelle-dic "StormSYS/Dictionary/User.dic") (set Ziel-dic "StormC:StormSYS/Dictionary") ;===================================================================================== ; Beginn der Installation ;===================================================================================== (message #welcome) (welcome) ( (set StormC-Version (askchoice (prompt #StormC-Version_Auswahl) (help @askchoice-help) (default 1) (choices #V2 #V3 ) ) ) (if (= StormC-Version 0) ( (set Quelle-1 "StormSYS/StormC_V2-startups") (set Ziel-1 "StormC:StormSYS") (set Quelle-2 "StormC_V2-Examples/standard") (set Quelle-3 "StormC_V2-Examples/special") ) ( (set Quelle-1 "StormSYS/StormC_V3-startups") (set Ziel-1 "StormC:StormSYS/startups") (set Quelle-2 "StormC_V3-Examples/standard") (set Quelle-3 "StormC_V3-Examples/special") ) ) ) (if (= (exists "StormC:Include/stormamigainline.h" (noreq)) 1) ( (run "delete StormC:Include/stormamigainline.h") ) ) (makeassign "INSTTMP" Quelle-1) ( (set kopiere_startups (askoptions (prompt #startup_Auswahl) (help @askoptions-help) (choices #FAR_C_Startupcode #FAR_C_C++_Startupcode ) ) ) (if (IN kopiere_startups 0) (set FAR_C_Startupcode 1)) (if (IN kopiere_startups 1) (set FAR_C_C++_Startupcode 1)) (if (= FAR_C_Startupcode 1) (copyfiles (source "INSTTMP:stormamiga_startups.o") (dest Ziel-1) ) ) (if (= FAR_C_C++_Startupcode 1) (copyfiles (source "INSTTMP:stormamiga_C++_startups.o") (dest Ziel-1) ) ) ) ( (set wähle_Libs (askoptions (prompt #Versions_Auswahl) (help @askoptions-help) (default 1) (choices #MC68EC020+ ) ) ) (if (IN wähle_Libs 0) (set MC68EC020+ 1)) (if (= MC68EC020+ 1) (copyfiles (source "lib/stormamiga.lib") (dest "StormC:Lib") ) ) ) ( (set kopiere_Standardbeispiele (askchoice (prompt #Standardbeispiele_Auswahl) (help @askchoice-help) (default 0) (choices #ja #nein ) ) ) (if (= kopiere_Standardbeispiele 0) ( (set Zielverzeichnis (askdir (prompt #Beispiele_Liste) (help @askdir-help) (default "StormC:Examples") ) ) (makeassign "INST" Zielverzeichnis) (copyfiles (source Quelle-2) (dest "INST:stormamiga_lib_Examples") (all) (infos) ) ) ) ) ( (set Spezialfunktionen_Auswahl (askchoice (prompt #Spezialfunktionen_Auswahl) (help @askchoice-help) (default 0) (choices #ja #nein ) ) ) (if (= Spezialfunktionen_Auswahl 0) ( (copyfiles (source "Include") (dest "StormC:Include") (all) ) (set kopiere_User.dic (askchoice (prompt #User.dic_Auswahl) (help @askchoice-help) (default 0) (choices #User1.dic #User2.dic #User3.dic #kein_User.dic ) ) ) (if (= kopiere_User.dic 0) (copyfiles (source Quelle-dic) (dest Ziel-dic) (newname "User 1.dic") ) ) (if (= kopiere_User.dic 1) (copyfiles (source Quelle-dic) (dest Ziel-dic) (newname "User 2.dic") ) ) (if (= kopiere_User.dic 2) (copyfiles (source Quelle-dic) (dest Ziel-dic) (newname "User 3.dic") ) ) (set kopiere_Spezialbeispiele (askchoice (prompt #Spezialbeispiele_Auswahl) (help @askchoice-help) (default 0) (choices #ja #nein ) ) ) (if (= kopiere_Spezialbeispiele 0) ( (if (exists "INST:stormamiga_lib_Examples" (noreq)) (copyfiles (source Quelle-3) (dest "INST:stormamiga_lib_Examples") (all) (infos) ) ) (if (= (exists "INST:stormamiga_lib_Examples" (noreq))0) ( (set Zielverzeichnis (askdir (prompt #Beispiele_Liste) (help @askdir-help) (default "StormC:Examples") ) ) (makeassign "INST" Zielverzeichnis) (copyfiles (source Quelle-3) (dest "INST:stormamiga_lib_Examples") (all) (infos) ) ) ) ) ) ) ) ) ( (set kopiere_Anleitungen (askchoice (prompt #Anleitungen_Auswahl) (help @askchoice-help) (if (= @language "deutsch") ((default 0)) ((default 1)) ) (choices #Deutsch #English ) ) ) (if (= kopiere_Anleitungen 0) (set Quelle-D "stormamiga_lib.guide")) (if (= kopiere_Anleitungen 1) (set Quelle-D "stormamiga_lib_e.guide")) ( (set Dokverzeichnis (askdir (prompt #Anleitungen_Liste) (help @askdir-help) (default "StormC:") (disk) ) ) (makeassign "INSTDOK" Dokverzeichnis) (copyfiles (source Quelle-D) (dest "INSTDOK:") (infos) ) ) ) (makeassign "INSTTMP") (makeassign "INST") (makeassign "INSTDOK")